﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace Red
{
    public partial class Frm2 : Form
    {
        public Frm2()
        {
            InitializeComponent();
        }

        //{"errno":true,"trace":"Ept4bP3uX2kHPKU8p0X7pPWlE3VBCQ+gqvrbKlkmbQ==","token":"80c55daf371a70698ca8154b36224657","redirect":"\/hongbao\/guagift","old":0,"is_alloc":1}
        private void Frm2_Load(object sender, EventArgs e)
        {
            this.timer1.Interval = 2000;
             this.timer1.Enabled = true;
            this.tsslblState.Text = "";
            this.tpQQ1Email.Text = "QQ1Email";
            this.tpQQ2Email.Text = "QQ2Email";
            this.tpQQ1WB.Text = "QQ1WB";
            this.tpQQ1Qzone.Text = "QQ1Qzone";
            this.tp163.Text = "163";
            this.tp163Email.Text = "163Email";
            this.tp163WB.Text = "163WB";
            this.tp新浪.Text = "新浪";
            this.tp新浪Email.Text = "新浪Email";
            this.tp新浪WB.Text = "新浪WB";
            this.tp百度.Text = "百度";
            this.tpCSDN.Text = "CSDN";
            this.tpWorkEmail.Text = "WorkEmail";
            this.tp天涯.Text = "天涯";
            this.tp淘宝.Text = "淘宝";
            this.tp51.Text = "51";
            this.tabPage17.Text = "";
            this.tabPage18.Text = "";
            this.tabPage19.Text = "";
            this.tabPage20.Text = "";
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            this.timer1.Enabled = false;
            StartLoad();
        }
        // Assembly ass = Assembly.GetAssembly(typeof(Frm2));
        public void StartLoad()
        {

            wbInit();
            try { LoadWorkEmail(); return; }
            catch (Exception) { }
            return;
            try { LoadQQ1Email(); }
            catch (Exception) { }
            try { LoadQQ2Email(); }
            catch (Exception) { }
            try { LoadQQ1WB(); }
            catch (Exception) { }
            try { LoadQQ1Qzone(); }
            catch (Exception) { }
            try { Load163(); }
            catch (Exception) { }
            try { Load163Email(); }
            catch (Exception) { }
            try { Load163WB(); }
            catch (Exception) { }
            try { Load新浪(); }
            catch (Exception) { }
            try { Load新浪Email(); }
            catch (Exception) { }
            try { Load新浪WB(); }
            catch (Exception) { }
            try { Load百度(); }
            catch (Exception) { }
            try { LoadCSDN(); }
            catch (Exception) { }
            try { LoadWorkEmail(); }
            catch (Exception) { }
            try { Load天涯(); }
            catch (Exception) { }
            try { Load淘宝(); }
            catch (Exception) { }
            try { Load51(); }
            catch (Exception) { }
            this.tsslblState.Text = "完成";
        }
    }
}
